<?php

namespace Dreamcat\ConfigClient\Factory;

use Dreamcat\ConfigClient\ConfigCenterReadProcessInterface;
use Dreamcat\ConfigClient\Impl\ConfigCenterReadProcess;
use Dreamcat\ConfigClient\Logger\SimpleLogger;

/**
 * -
 * @author vijay
 */
class ReadProcessFactory
{
    public static function createProcess(): ConfigCenterReadProcessInterface
    {
        $obj = new ConfigCenterReadProcess(__DIR__ . "/../../../cache/cache.cae");
        $obj->setLogger(new SimpleLogger());
        return $obj;
    }
}

# end of file
